#ifndef _CTILE_H_
#define _CTILE_H_

class CTile
{
private:
	enum TYPE {NORMAL = 0, TELEPORT, PLAYER, ENEMY, POWERUP, NUM_TYPES};
	int m_nX;
	int m_nY;
	int mainX;
	int mainY;
	int m_nWidth;
	int m_nHeight;
	int m_nType;
	int Depth;
	const char* m_szTrigger;

public:
	CTile(void);
	~CTile(void);

	int GetX(void) const {return m_nX;}
	int GetY(void) const {return m_nY;}
	int GetmX() const{return mainX;}
	int GetmY() const{return mainY;}
	int GetWidth(void) const {return m_nWidth;}
	int GetHeight(void) const {return m_nHeight;}
	int GetType(void) const {return m_nType;}
	const char* GetTrigger(void) const {return m_szTrigger;}

	void SetX(const int nX) {m_nX = nX;}
	void SetY(const int nY) {m_nY = nY;}
	void SetmX(const int mX) {mainX = mX;}
	void SetmY(const int mY) {mainY = mY;}
	void SetWidth(const int nWidth) {m_nWidth = nWidth;}
	void SetHeight(const int nHeight) {m_nHeight = nHeight;}
	void SetType(const int nType) {m_nType = nType;}
	void SetTrigger(const char* szTrigger) {m_szTrigger = szTrigger;}
	int getdepth(){return Depth;}
	void setdepth(int d){Depth = d;}
};

#endif